package org.xshop.model;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import top.ibase4j.core.base.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 活动
 * </p>
 *
 * @author ShenHuaJie
 * @since 2018-04-08
 */
@ApiModel("活动")
@TableName("t_activity")
@SuppressWarnings("serial")
public class TActivity extends BaseModel {

    @ApiModelProperty(value = "获得类型")
	@TableField("activity_type")
	private String activityType;
    @ApiModelProperty(value = "活动名称")
	@TableField("activity_name")
	private String activityName;
    @ApiModelProperty(value = "活动描述")
	@TableField("activity_desc")
	private String activityDesc;
    @ApiModelProperty(value = "活动图片")
	@TableField("image_url")
	private String imageUrl;
    @ApiModelProperty(value = "活动时间")
	@TableField("start_time")
	private Date startTime;
    @ApiModelProperty(value = "活动时间")
	@TableField("end_time")
	private Date endTime;
    @ApiModelProperty(value = "活动折扣")
	@TableField("activity_discount")
	private BigDecimal activityDiscount;
    @ApiModelProperty(value = "商品原价")
	@TableField("goods_price")
	private BigDecimal goodsPrice;


	public String getActivityType() {
		return activityType;
	}

	public void setActivityType(String activityType) {
		this.activityType = activityType;
	}

	public String getActivityName() {
		return activityName;
	}

	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}

	public String getActivityDesc() {
		return activityDesc;
	}

	public void setActivityDesc(String activityDesc) {
		this.activityDesc = activityDesc;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public BigDecimal getActivityDiscount() {
		return activityDiscount;
	}

	public void setActivityDiscount(BigDecimal activityDiscount) {
		this.activityDiscount = activityDiscount;
	}

	public BigDecimal getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(BigDecimal goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

}